#pragma once
#include "Point3D.h"

class Line3D
{
public:
    Point3D a,b;
    Line3D();
    Line3D(Point3D &newA,Point3D &newB);
    Line3D(double xa,double ya,double za,double xb,double yb,double zb);
    ~Line3D();
    
    Line3D& set(Point3D &newA,Point3D &newB);
    Line3D& set(double xa,double ya,double za,double xb,double yb,double zb);
    
    double length();
    
    //drawing
    void draw();
    void draw_width(double dWidth);
    void draw_color(int hexColor);
    void draw_widthColor(double dWidth, int hexColor);
};